package ex.com.jm.food.service.impl;

import java.util.List;

import ex.com.jm.food.dao.AdminDPSDao;
import ex.com.jm.food.entity.DateProfitSummary;
import ex.com.jm.food.service.AdminDPSService;

public class AdminDPSServiceImpl implements AdminDPSService {

	private AdminDPSDao adminDPSDao;
	
	
	public AdminDPSDao getAdminDPSDao() {
		return adminDPSDao;
	}

	public void setAdminDPSDao(AdminDPSDao adminDPSDao) {
		this.adminDPSDao = adminDPSDao;
	}

	@Override
	public List<DateProfitSummary> getDPSs(int initPage, int pageRow,
			String date, String s_date, String e_date, String sort, String order) {
		// TODO Auto-generated method stub
		return this.getAdminDPSDao().getDPSs(initPage, pageRow, date, s_date, e_date, sort, order);
	}

	@Override
	public int dpsCount(String date, String s_date, String e_date) {
		// TODO Auto-generated method stub
		return this.getAdminDPSDao().dpsCount(date, s_date, e_date);
	}

	@Override
	public List<DateProfitSummary> DPSExcel(String date, String s_date,
			String e_date) {
		// TODO Auto-generated method stub
		return this.getAdminDPSDao().DPSExcel(date, s_date, e_date);
	}

	@Override
	public List<DateProfitSummary> DPSReport(String date, String s_date,
			String e_date) {
		// TODO Auto-generated method stub
		return this.getAdminDPSDao().DPSReport(date, s_date, e_date);
	}

}
